import request from '@/utils/request'


// 根据枚举信息返回map
export function getEnumMap(enumName) {
  return request({
    url: '/common/getEnumMap/' + enumName,
    method: 'get'
  })
}

// 根据编号返回map
export function getNo(noType) {
  return request({
    url: '/common/getNo',
    method: 'get',
    params: noType
  })
}

// 批量生产编号
export function getBatchNo(query) {
  return request({
    url: '/common/getBatchNo',
    method: 'get',
    params: query
  })
}
